package org.bultreebank.index.utils;



public interface Constants {
	 String CONFIG_DOC_TYPE = "config";
	 String CONFIG_DTD_PATH =  java.io.File.separator + "config.dtd";
	 String QUERY_DTD_PATH =  java.io.File.separator + "SearchEngineQuery.dtd";
	 String INDEX_SCHEMA_DTD_PATH =  java.io.File.separator + "index_schema.dtd";
	 String CONFIG_DOC_PATH = java.io.File.separator + "config.xml";
	 String SYSTEM_FILE_PREFIX = "f";
	 String CONTEXT = "context";
	 String LANG = "lang";
	 String ABSOLUTE_XPATH = "absolute_xpath";
	 String VALUE = "value";
	 String GLOBAL_CONTEXT = "global_context";
	 String NONE = "none";
	 String DOCUMENTS_TAG = "Documents";
	 String SPECIFIC_FIELD_TAG = "SpecificFieldResult";
	 String CONTENT = "content";
	 String FIELD_CONTENT_TAG = "FieldContentResult";
     String DATE = "date";
	 String SUB_FIELD = "subfield";
	 String DOC_IDS_ATTRIBUTE = "docIDs";
	 String LUCENE_HOME = "LUCENE_HOME";
	 String CHAR_SET_UTF8 = "UTF-8";
	 String CHAR_SET_UTF16 = "UTF-16BE";
	 int BUFF_SIZE = 100000;
	 int END_OF_FILE = -1;
	 String DOC_TABLE = "DocumentTable";
	 String CONFIG_TABLE = "ConfigTable";
	 String PATH = "path";
	 String LAST_MODIFICATION = "modified";
	 String UID = "uid";
	 String INTERNAL_DIR = "LuceneRepository" + java.io.File.separator;//_ABSOLUTE = "LuceneRepository\\";
	 String CONFIG_DIR = "ConfigFiles" + java.io.File.separator;//_ABSOLUTE = "ConfigFiles\\";
	 String SCHEMA_DIR = "SchemaFiles" + java.io.File.separator;//_ABSOLUTE = "SchemaFiles\\";
	 String FIELDS_DIR = "FieldsFiles" + java.io.File.separator;//_ABSOLUTE = "FieldsFiles\\";
	 String DOC_ID = "docID";
	 String DOC_ID_SEARCHABLE = "docID_searchable";
	 String INCLUDED_ATTR = "included";
	 String POST_OPERATOR = "pOP";
	 String SIMILAR_SPELLING = "similarSpelling";
	 String SIMILAR_SPELLING_SIGN = "~";
	 String DISTANCE_SIGN = "^";
	 String EXCLAMATION_MARK = "!";
	 String CURLY_LEFT_BRACKET = "{";
	 String CURLY_RIGHT_BRACKET = "}";
	 String FULL_STOP = ".";
	 String LEFT_SLASH = "/"; 
	 char LEFT_SLASH_CHAR = '/'; 
	 String NO = "n";
	 String YES = "y";
	 String LEFT_BRACKET = " ( ";
	 String RIGHT_BRACKET = " ) ";
	 String FIELD = "field";
	 String RETRIEVABLE_FIELD = "RetrievableField";
	 String LITERAL_VAL = "literalV";
	 String AND_TAG = "and";
	 String OR_TAG = "or";
	 String AND_SIGN = "AND";
	 String OR_SIGN = "OR";
	 String NOT_SIGN = "NOT";
	 String not_sign = "not";
	 String INCLUDED = "+";
	 String EXCLUDED = "-";
	 String KEYWORD = "keyword";
	 String EMPTY_STR = "";
	 String RES_VALUE = "value";
	 String ROOT = "LuceneResult";
	 String SYSTEM_ID = "systemID";
	 String ARGUMENT = "arg";
	 String COLUMN = ":";
	 String SIZE = "size";
	 String LUCENE_QUERY = "Query";
	 //String LUCENE_RESULT = "LuceneResult";
	 String RES_DOC_ID = "value";
	 String SEARCH_BY = "searchBy";
	 String REAL_DOC_ID = "realDocID";
	 String ALL_CONCEPTS = "allConcepts";
	 String RANGE_TAG = "range";
	 String RANGE_SIGN = "TO";
	 String MIN_VAL = "minLiteralV";
	 String MAX_VAL = "maxLiteralV";
	 String FIELDS = "fields";
	 String SIMPLE_FIELDS = "simpleFields";
	 String COMPLEX_FIELDS = "complexFields";
	 String SIMPLE_FIELD = "simpleField";
	 String COMPLEX_FIELD = "complexField";
	 String	WHITESPACE = " ";
	 String INDEX_ID_ATTRIBUTE = "IndexID";
	 String NEW_LINE = "\n";
	 String SYSTEM_FILE_NAME = "f";
	 String INDEX_FIELDS_FILE_NAME = "i";
	 String ID_ATTRIBUTE = "id";
	 String EXPRESSION_ATTRIBUTE = "expr";
	 String RETRIEVABLE = "retrievable";
	 String SEARCHABLE = "searchable";
	 int NUM_HITS = 50;
	 String XPATH_ATTRIBUTE = "xpath";
	 String USERS_FIELD_ID = "xpathPointedField";
	 String SUB_QUERY = "query";
	 String BROKEN_LEFT_BRACKET = "[ ";
	 String BROKEN_RIGHT_BRACKET = " ]";
	 String NAME = "name";
	 String QUERY_ID = "queryID";
	 String INDEX_ID = "indexID";
	 String DOC_ID_FILE = "docID";
	 String EQUALS = "=";
	 String COMMAS = "\"";
	 String INDEX_REPOSITORY = "IndexRepositoryRelevance";
	 String DOCUMENT = "document";
	 String UNDERSCORE = "_";
	 String INTERNAL_INDEX_ID_ATTR = "systemID";
	 String NAME_ATTR = "name";
	 String SEPARATOR = java.io.File.separator;
	 String SEARCH_RESULT = "Result";
	 String REAL_INDEX_ID = "realIndexID";
	 String NUM_SIGN = "#";
	 String REPOSITORY = "SearchEngineRepository";
	 String SPEC_CHAR = "@@@@@";
	
}
